<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<title>高校基本信息</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="stylesheet" href="__PUBLIC__/Teachers/css/reset.css">
<link rel="stylesheet" href="__PUBLIC__/Teachers/css/admin.css">

</head>
<body>
<input type="hidden" id="navigation" value="1.2"/>
<input type="hidden"  id="deleteUrl" name="deleteUrl" value="__CONTROLLER__/deleteDepartments"/>
<input type="hidden" id="updateUrl" name="updateUrl" value="__CONTROLLER__/updateDepartments"/>
	
	<div class="content" id="content-department">
		<div class="tab-menu">
			<ul>
				<li class="actived"><a href="__CONTROLLER__/index">院系专业</a></li>
			</ul>
		</div>
		<div class="tab-content">
			<div class="biaoge tab-item actived">
				<div class="btn-box">
					<a href="javascript:;" class="btn-modal">新  增</a>
				</div>
				<table>
					<tr>
						<th width="160">学院</th>
						<th width="475">院校介绍</th>
						<th width="100">管理</th>
					</tr>
					<volist name="departments_data" id="vo">
						<tr>
							<td>{$vo.name}</td>
							<td><p>{$vo.content}</p></td>
							<td>
								<input type="hidden" name="departments_id" value="{$vo.departments_id}"/>
								<a href="javascript:;" class="btn-editor-3">编辑</a> <a href="javascript:;" class="btn-save">保存</a>| <a href="javascript:;" class="btn-remove">删除</a>
							</td>
						</tr>
					</volist>
					
				</table>
			</div>
		</div>
	</div>
    
    <div id="modal">
    	<div class="modal-overlay"></div>
    	<div class="modal-box" id="modal-department">
    		<form action="__CONTROLLER__/addDepartments" method="post" name="" id="form-add">
	    		<input type="hidden" id="school_id" name="school_id" value="{$school_id}"/>
	    		<input type="hidden" name="departments_type" value="{$departments_type}"/>
	    		<article>
	        		<div class="formitm clearfix">
	            		<label class="lab">学院：</label>
	            		<div class="ipt"><input type="text" class="z-ib" value="" name="departments_name" placeholder="填写院系名称"/></div>
	        		</div>
	        		<div class="formitm clearfix">
	            		<label class="lab">院系介绍：</label>
	            		<div class="ipt">
	            			<textarea name="departments_content"></textarea>
		            	</div>
		        	</div>
		            <div class="formitm clearfix">
		                <div class="lybtns">
		                    <input type="submit" value="保存" class="u-btn btn-yes">
	                        <button type="button" class="u-btn btn-cancel">取消</button>
		                </div>
		            </div>
		    	</article>
		    </form>
		</div>
    </div>
	
	<script src="__PUBLIC__/Teachers/js/jquery-1.11.1.min.js"></script>
	<script src="__PUBLIC__/Teachers/js/admin.js"></script>
	<script>
		moduleDepartments();
	</script>

</body>
</html>